package com.asset.dao;

import com.asset.pojo.Department;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by gongshaobo on 2017/1/23  17:35.
 */
@Component
public interface DepartmentMapper {
    public void addDepart(Department department);
    public List<Department> listDepart(@Param("name")String name);
}
